package com.probox.common.entity.vo.im;

import java.util.Date;
import java.util.List;

/**
 * 接受消息成功之后返回给前端的消息
 */
public class ReceiveMessgeAction extends Action {

    public ReceiveMessgeAction() {
        this.setAction(ActionIdEnum.ACTION_RECEIVE_MESSAGE_NOTIFY.getAction());
    }

    private Date receiverTimestamp;

    /**
     * 消息id
     */
    private boolean result;

    /**
     * 消息内容
     */
    private List<Long> messageId;

    public Date getReceiverTimestamp() {
        return receiverTimestamp;
    }

    public void setReceiverTimestamp(Date receiverTimestamp) {
        this.receiverTimestamp = receiverTimestamp;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<Long> getMessageId() {
        return messageId;
    }

    public void setMessageId(List<Long> messageId) {
        this.messageId = messageId;
    }
}
